<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3 th:text="${msg}"></h3>
登录界面
<form action="tologin" method="post">
    用户名：<input type="text" name="username"/></br>
    密码：<input type="text" name="password"/></br>
    <input type="checkbox" name="rememberMe">记住我？</br>
    <input type="submit" value="login"/></br>
</form>
</body>
</html>